package com.qys.livesMall.system.model.vo.app;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * Created by IntelliJ IDEA.
 * User: dp
 * Date: 2023/05/02
 * Time: 11:25
 * DESCRIPTION: app首页轮播图
 */
@Data
public class AppHomeBannerVo implements Serializable {

    @Schema(description = "id")
    private String id;

    @Schema(description = "图片地址")
    private String img;

    @Schema(description = "banner类型 0：活动跳转  1：富文本 2：输入链接（站外）")
    private Integer type;

    @Schema(description = "活动类型")
    private Integer activityType;

    @Schema(description = "关联活动Id")
    private String activityId;

    @Schema(description = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @Schema(description = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    @Schema(description = "活动详情")
    private String detail;

    @Schema(description = "跳转链接")
    private String url;
}
